func net/http.serveError
11 uses
net/http (current package)
fs.go#L188: func serveError(w ResponseWriter, text string, code int) {
fs.go#L296: serveError(w, "seeker can't seek", StatusInternalServerError)
fs.go#L307: serveError(w, err.Error(), StatusInternalServerError)
fs.go#L312: serveError(w, "negative content size computed", StatusInternalServerError)
fs.go#L334: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L360: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L693: serveError(w, msg, code)
fs.go#L701: serveError(w, msg, code)
fs.go#L719: serveError(w, msg, StatusInternalServerError)
fs.go#L821: serveError(w, "invalid URL path", StatusBadRequest)
fs.go#L855: serveError(w, "invalid URL path", StatusBadRequest)